package com.czk.gulimall.product.feign;

import com.czk.common.to.SkuHasStockVo;
import com.czk.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @Author:ChenZhangKun
 * @Date: 2021/12/24 15:08
 */
@FeignClient(value = "gulimall-ware")
public interface WareFeignService {
    @PostMapping("/ware/waresku/hasstock")
    List<SkuHasStockVo> getSkuHasStock(@RequestBody List<Long> skuIds);
}
